package cn.oms.email.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_email_record")
@ApiModel(value="UserEmailRecord对象", description="")
public class UserEmailRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增生成）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "发件人ID")
    @TableField("SEND_MAN_ID")
    private String sendManId;

    @ApiModelProperty(value = "收件人ID")
    @TableField("RECIPIENT_MAN_ID")
    private String recipientManId;

    @ApiModelProperty(value = "邮件发送时间")
    @TableField("USER_EMAIL_SEND_TIME")
    private LocalDate userEmailSendTime;

    @ApiModelProperty(value = "邮件格式：正常格式邮件0 HTML格式邮件1 MARCKDOWN格式")
    @TableField("USER_EMAIL_FORMAT")
    private Integer userEmailFormat;

    @ApiModelProperty(value = "邮件标题")
    @TableField("USER_EMAIL_TITLE")
    private String userEmailTitle;

    @ApiModelProperty(value = "邮件正文")
    @TableField("USER_EMAIL_CONTENT")
    private String userEmailContent;

    @ApiModelProperty(value = "是否有附件：无0 有1")
    @TableField("EMAIL_ATTACHMENT_STATUS")
    private Integer emailAttachmentStatus;

    @ApiModelProperty(value = "附件地址：多个附件用、隔开路径")
    @TableField("EMAIL_ATTACHMENT_ADDRESS")
    private String emailAttachmentAddress;

    @ApiModelProperty(value = "创建时间")
    @TableField("USER_EMAIL_CREATE_TIME")
    private LocalDate userEmailCreateTime;

    @ApiModelProperty(value = "删除标记（0未删 1已删）")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
